/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csc668868webappteamsp12aproject1;

/**
 *
 * @author Jeff
 */
public class Payment {
    private String type;
    private String value;
    private String cardNumber;
    
/**
 *  Construct a new Payment
 */
    public Payment() {
        type = "";
        value = "";
        cardNumber = "";
    }

    public String getType() {
        return type;
    }
    
    public void setType(String newType) {
        type = newType;
    }

    public String getValue() {
        return value;
    }
    
    public void setValue(String newValue) {
        value = newValue;
    }
    
    public String getCardNumber() {
        return cardNumber;
    }
    
    public void setCardNumber(String newCardNumber) {
        cardNumber = newCardNumber;
    }
    
    public void print() {
        System.out.println("type: " + type + " value: " + value +
                " cardnumber: " + cardNumber);
    }
}
